package com.xiaoshuidi.cloud.module.rooms.controller.admin.estimate.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

/**
 * @Author Feng
 * @date 2023/5/29
 */
@Data
@Schema(description = "装修估价计算请求对象")
public class DecorationEvaluateReq {

    @Schema(description = "对象列表")
    private List<Info> list;

    @Data
    public static class Info {
        /**
         * 分类 1硬装 2家具 3家电
         */
        @Schema(description = "分类1硬装 2家具 3家电")
        private String type;
        /**
         * 名称 例：厨房
         */
        @Schema(description = "名称 例：厨房 ")
        private String name;
        /**
         * 数量
         */
        @Schema(description = "数量")
        private int number;
        /**
         * 单位
         */
        @Schema(description = "单位")
        private String unit;
        /**
         * 均价
         */
        @Schema(description = "均价")
        private double avgPrice;
        /**
         * 总价
         */
        @Schema(description = "总价")
        private double totalPrice;
    }
}
